package com.coding.springboot.demo.dao;

import com.coding.springboot.demo.entity.Twxuser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

/**
 * Created by qince on 2015/8/3.
 */
public interface TwxuserDao extends JpaRepository<Twxuser,String> {
    @Query("select t from Twxuser t where t.wxno = ?1" )
    public Twxuser getByWxno(String wxno);
}
